//
//  UIViewController+XHPhoto.h

//  XHPhotoExample
//
//  Created by yangpan on 2017/07/8.
//  Copyright © 2016年 ZJW. All rights reserved.
//


#import <UIKit/UIKit.h>

typedef void(^photoBlock)(UIImage *photo);

@interface UIViewController (XHPhoto)

/**
*  照片选择->图库/相机
*
*  @param edit  照片是否需要裁剪,默认NO
*  @param block 照片回调
*/
-(void)showPhotoEdit:(BOOL)edit block:(photoBlock)block;

@end
